home *** CD-ROM | disk | FTP | other *** search
/ New Star Software Collection / NSS_Collection.iso / 3-069 qemm 603 / 1.ima / QEMM-MAN / APPEND-D.QEM < prev    next >
Encoding:
Text File  |  1991-10-07  |  5.1 KB  |  119 lines

  1. Appendix D
  2.  
  3. Modifying the MCA.ADL File
  4.  
  5. PCs with Microchannel Architecture (MCA) allow QEMM to know what
  6. devices are installed. QEMM-386 uses a file called MCA.ADL (ADL is
  7. for Adapter Description Library) to store information about the
  8. various Microchannel cards. The MCA.ADL file is a collection of
  9. information from many Adapter Description Files (ADFs). In PCs with
  10. Microchannel Architecture, such as the IBM PS/2 series Model 50 and
  11. above, every adapter is supplied with its own unique number and a
  12. file describing the device. These ADF files all have a name in the
  13. form "@????.ADF", where ???? is a four digit hexadecimal number, 
  14. assigned by IBM.
  15.  
  16. The ADF files are stored on the "Reference Diskette" and are used by
  17. the SETUP program to configure the peripheral devices correctly.
  18.  
  19. When QEMM.SYS is loaded on a Microchannel Architecture computer, it reads
  20. its MCA.ADL file to be sure that the correct areas of memory are 
  21. INCLUDEd and EXCLUDEd.  This provides maximum reliability and performance 
  22. of both QEMM and the other devices.  Since new devices are being announced
  23. all the time, it is possible that some adapters may not have an entry in
  24. MCA.ADL.  If a particular adapter in the machine is NOT in the MCA.ADL file,
  25. then QEMM indicates that it cannot locate adapter id "XXXX", where the "XXXX"
  26. will be the hexadecimal number of that device.  QEMM should still be able to 
  27. function, although it may not correctly INCLUDE and EXCLUDE the correct areas.
  28.  
  29. It is possible to modify the MCA.ADL file yourself quite easily.  First, you
  30. must locate the ADF file associated with the device.  It should be on the 
  31. "Reference Diskette" for your computer.
  32.  
  33. ~Step~Place the Reference diskette into the floppy drive.
  34.  
  35. ~Step~ Type DIR A:and press <Enter>.
  36.  
  37. except that you should replace the "XXXX" with the adapter id
  38. number which QEMM could not recognize.
  39.  
  40. If you get "File not found", then you have not used the proper
  41. Reference diskette. The Microchannel Architecture computer will not
  42. function properly until all of the adapters have been correctly
  43. installed so you must have a reference diskette with the proper
  44. file. You may also be able to find the ADF file on the diskette
  45. which came with the adapter.
  46.  
  47. Once you find the ADF file, you should print out a copy of the
  48. file. You need the "Adapter ID" line, the "AdapterName" line, and
  49. the various "pos" and "mem" lines. You may find the other
  50. information interesting, but it is not necessary for the ADL file.
  51.  
  52. Make a copy of the MCA.ADL file to keep as a backup in case
  53. something goes wrong:
  54.  
  55. ~Step~ COPY MCA.ADL MCA.SAV and press <Enter>.
  56.  
  57. ~Subhead~ Sample ADF File
  58.  
  59.  Shown below is a sample ADF file and the associated entries which
  60. would be put into the MCA.ADL file.  As you can see, the format of
  61. the entries is slightly different, but the information is
  62. essentially the same.
  63.  
  64. GRAPHIC NOT SHOWN
  65.  
  66.  The format of the ADL file consists of the following:
  67.  
  68. ~Item~ The first line is the four digit hexadecimal number followed
  69. by the name of the device. Each of the lines ends with a {Return}
  70. and {Line Feed}.
  71.  
  72. ~Item~ The next lines are the "pos" and "mem" entries, they must be
  73. indented by one space character. The "1", "0", and "X" items are
  74. the "switch settings" for this device. By looking at the "Help"
  75. text for the device, you can usually tell if the memory areas
  76. specified are for AROM or ARAM.  If you can't really tell, the best
  77. choice would be EXCLUDE (/X). You place the memory range, just as
  78. it might appear on the QEMM386.SYS line except that a "/" is added
  79. to the parameter,one space to the right of the "switch setting".
  80. Each of the switch settings is for a particular "pos" entry,
  81. although you only care about the "pos" entry which is associated
  82. with the "mem" entry. If, for example, the "mem" entry is
  83. associated with "pos[1]" then you must place an "X" and a space
  84. before the "switch setting" entry:
  85.  
  86.           pos[1]=XXXX0101b mem 0d4000h-0d7fffh
  87.  
  88.  would result in:
  89.  
  90.           X XXXX0101 /AROM=D400-D7FF
  91.  
  92. You should note that QEMM entries do NOT have the "fifth" "0" or
  93. "F", and do NOT have a leading "0".
  94.  
  95. ~Subhead~ Using the MCA.ADL File
  96.  
  97. The process in using the MCA.ADL file is:
  98.  
  99. ~Item~ QEMM finds an adapter ID in the computer
  100.  
  101. ~Item~ QEMM searches the MCA.ADL file until it either finds a
  102. matching ID number, or a higher one (they are listed numerically)
  103.  
  104. ~Item~ QEMM then reads the "switch setting" for the particular
  105. "pos" entry (pos[0], pos[1], etc) and compares it with the list
  106. following the Adapter ID number. (All the switch setting values are
  107. indented by one space, so if no match is found before the next
  108. Adapter ID, then QEMM does nothing else.)
  109.  
  110. ~Item~ QEMM takes each of the "/" items that match and treats them
  111. as though they have been specified on the QEMM386.SYS line.
  112.  
  113. By examining the other entries in the MCA.ADL, you should be able
  114. to add your device. You also can manually add the appropriate AROM,
  115. ARAM, INCLUDE, and EXCLUDE items on the QEMM386.SYS line without
  116. modifyingthe MCA.ADL. You may want to add NOPAUSEONERROR (NOPE) to
  117. the line as well to avoid the "press any key..." prompt each time
  118. the computer boots.
  119.